4D Chart v13

CT SET CHART FILL ATTRIBUTES

Home

 
4D Chart v13
CT SET CHART FILL ATTRIBUTES

CT SET CHART FILL ATTRIBUTES 


 

CT SET CHART FILL ATTRIBUTES ( area ; object ; partType ; partSpecifics ; pattern ; color ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
partType  Integer in Type of object for which to set attributes
partSpecifics  Longint in Specific part of object for which to set attributes
pattern  Integer in Pattern number (1 to 36) -1 = No change
color  Longint in Color value -1 = No change

The CT SET CHART FILL ATTRIBUTES command sets the fill attributes of the chart object specified by area, object, partType, and partSpecifics.

partType and partSpecifics specify the exact part of the graph for which to get the attributes. The codes for these parameters are listed in the section Parameter Codes.

pattern is an integer from 1 to 36 that specifies one of the patterns available on the Pattern palette. Codes for this parameter are listed in the section Parameter Codes.

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions. For more information about these functions, refer to the commands in the CT Utilities section.

Note: To set the attributes of objects added to the document using the drawing tools or the drawing functions, use the commands in the CT Objects theme.

Example  

This example changes the first series fill attributes for the chart specified by $ChartID. The color is set to Red, and the pattern is set to Solid.

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14535

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET CHART FILL ATTRIBUTES